package com.chat.simplechat.event;

import com.chat.simplechat.entity.GiftBean;
import lombok.Getter;
import org.springframework.context.ApplicationEvent;

/**
 * @author wangyabin
 * @date 2022/10/26 17:43
 */
@Getter
public class GiftEvent extends ApplicationEvent {

    private GiftBean giftBean;
    
    public GiftEvent(Object source,GiftBean giftBean) {
        super(source);
        this.giftBean = giftBean;
    }
}
